html,body{
	width:100%;
	height:100%;
	display: flex;
	flex-direction: column;
	font-size:0.3rem;
}
/*-----------------------------主页头部---------------------------------*/
header{
	width:100%;
	height:1.1rem;
	background-color:#ffd600;
	position: fixed;
	display: block;
	top:0;
	z-index: 9999;
}
header #scan{
	position: absolute;
	left:0.2rem;
	font-size:0.2rem;
	padding-top: 0.7rem;
	background: url(img/scan.png) no-repeat center 0.2rem;
	background-size: auto 0.45rem;
}
header #header_content{
	position: absolute;
	left:30%;
	right:30%;
	top:35%;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
header #search{
	position: absolute;
	right:0.2rem;
	padding-top:0.7rem;
	font-size: 0.2rem;
	background: url(./img/search.png)no-repeat center 0.2rem;
	background-size: auto 0.4rem;
}
/*-------------------------主页主体-------------------------------------*/
#main{
	/*flex-grow:20;*/
	background-color: rgba(246,246,246,.95);
	clear:both;
	position: absolute;
	top:0;
	bottom: 0;
	left:0;
	right:0;
	overflow-y: auto;
	overflow-x: hidden;
}

/*-------------------------主体页脚--------------------------------------*/
footer{
	width:100%;
	height:1.2rem;
	flex-grow: 1;
	font-size:0.25rem;
	background-color: rgba(246,246,246,.95);
	position: fixed;
	bottom:0;
	z-index: 10000;
}
footer ul{
	display: flex;
	justify-content: space-around;
}
footer ul li{
	flex-basis:25%;
	text-align:center;
	background:no-repeat;
	padding-top:0.75rem;
}
footer ul a{
	color:#777;
}
footer ul .btn1{
	background: url(./img/0.png) no-repeat center 0.1rem;
	background-size:auto 0.5rem;
}
footer ul  .btn2{
	background: url(./img/market.png) no-repeat center 0.1rem;
	background-size:auto 0.5rem;
}
footer ul .btn3{
	background: url(./img/car.png) no-repeat center 0.1rem;
	background-size:auto 0.5rem;
}
footer ul .btn4{
	background: url(./img/mine.png) no-repeat center 0.1rem;
	background-size:auto 0.5rem;
}
footer ul .car_num{
	width:0.35rem;
	height:0.35rem;
	background-color:#f40;
	border-radius: 50%;
	font-size: 0.25rem;
	color: #fff;
	text-align:center;
	line-height: 0.35rem;
	position: absolute;
	top:10%;
	left:70%;
	display: none;
	
	-webkit-transition: -webkit-transform .1s;
}
